﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class OrderItem
    {
        public int ID
        {
            get;
            set;
        }

        public string OrderID
        {
            get;
            set;
        }

        public string GoodsName
        {
            get;
            set;
        }

        public int Amount
        {
            get;
            set;
        }

        public float Price
        {
            get;
            set;
        }

        public Order Order
        {
            get;
            set;
        }

        public OrderItem()
        {
            ID = 0;
            OrderID = ""; 
            GoodsName = "";
            Amount = 0;
            Price = 0;
        }
    }
}
